package com.app.couponsharelife.ui.main.nativelife.activity

import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.app.couponsharelife.R
import com.app.couponsharelife.base.BaseActivity
import com.app.couponsharelife.utils.AppUtils
import kotlinx.android.synthetic.main.base_title_white.*

/**
 *Created by xct on 2019/3/8
 *Description:本地生活店内支付成功页面
 */
class ShopPaySucceesActivity:BaseActivity() {
    override val viewLayoutId: Int
        get() = R.layout.activity_shoppay_succees

    override fun initViews() {
        AppUtils.initImmersionBar(this,true)
        basetitle_title.text="支付详情"
        basetitle_llclose.setOnClickListener { finish() }
    }

    override fun onDestroy() {
        super.onDestroy()
        AppUtils.destroyImmersionBar(this)
    }
    inner class MyAdapter:RecyclerView.Adapter<MyHolder>(){
        override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MyHolder {
            val view=LayoutInflater.from(this@ShopPaySucceesActivity).inflate(R.layout.shoppay_succees_rvitm,parent,false)
            return MyHolder(view)
        }

        override fun getItemCount(): Int {
            return 0
        }

        override fun onBindViewHolder(holder: MyHolder, position: Int) {

        }
    }
    inner class MyHolder(itemview:View):RecyclerView.ViewHolder(itemview)
}